#canvas{
    width:500px;
    height:700px;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    background-color: #000;
}